# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=python-pydoe2
pkgver=1.3.0
pkgrel=6
pkgdesc="Design of experiments for Python"
url="https://github.com/clicumu/pydoe2"
license=('BSD')
arch=('any')
depends=('python-numpy' 'python-scipy')
makedepends=('python-setuptools')
source=("https://pypi.io/packages/source/p/pyDOE2/pyDOE2-$pkgver.tar.gz")
sha512sums=('91e1e02484e69ee812c21057fcc733f617f1aa6ea5b301c8f4a38d9fb56ea2dbd4244b1a4afc89600a26569ccf782db9a31985c9951d07b2a5f5e81c6d5a1e21')

build() {
  cd pyDOE2-$pkgver
  python setup.py build
}

package() {
  cd pyDOE2-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
}
